#ifndef _HTTP_REQUEST_H
#define _HTTP_REQUEST_H

struct http_request{
	char content_type[128];
	char method[16];
	char file_name[64];
	char host[64];
	char content_length[10];
	char *query_string;
	char *cookie;
	char *content;
};

int build_request(struct http_request *request);
int free_request(struct http_request *request);
int header(char *str);

#endif
